package com.ybkj.o2o.mc.entity;

import java.io.Serializable;
import java.util.Date;

import com.ybkj.o2o.mc.common.DateField;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;

/**
 * 客户管理员
 * 
 * @author YuanTianyang.2017/7/18
 *
 */
public class PassengerManage implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private Long id;
	
	private String manageAccount;
	
	private String managePassword;
	
	private Long enterpriseId;
	
	private String enterpriseName;
	
	private Long departmentId;
	
	private String departmentName;
	
	private Integer manageGrade;
	
	private String appKey;//系统标识
	
	@JsonSerialize(using = DateField.class)
	private Date updated;//修改时间
	
	@JsonSerialize(using = DateField.class)
	private Date created;//创建时间

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getManageAccount() {
		return manageAccount;
	}

	public void setManageAccount(String manageAccount) {
		this.manageAccount = manageAccount;
	}

	public String getManagePassword() {
		return managePassword;
	}

	public void setManagePassword(String managePassword) {
		this.managePassword = managePassword;
	}

	public Long getEnterpriseId() {
		return enterpriseId;
	}

	public void setEnterpriseId(Long enterpriseId) {
		this.enterpriseId = enterpriseId;
	}

	public String getEnterpriseName() {
		return enterpriseName;
	}

	public void setEnterpriseName(String enterpriseName) {
		this.enterpriseName = enterpriseName;
	}

	public Long getDepartmentId() {
		return departmentId;
	}

	public void setDepartmentId(Long departmentId) {
		this.departmentId = departmentId;
	}

	public String getDepartmentName() {
		return departmentName;
	}

	public void setDepartmentName(String departmentName) {
		this.departmentName = departmentName;
	}

	public Integer getManageGrade() {
		return manageGrade;
	}

	public void setManageGrade(Integer manageGrade) {
		this.manageGrade = manageGrade;
	}

	public String getAppKey() {
		return appKey;
	}

	public void setAppKey(String appKey) {
		this.appKey = appKey;
	}
	
	public Date getUpdated() {
		return updated;
	}

	public void setUpdated(Date updated) {
		this.updated = updated;
	}

	public Date getCreated() {
		return created;
	}

	public void setCreated(Date created) {
		this.created = created;
	}

	@Override
	public String toString() {
		return "PassengerManage [id=" + id + ", manageAccount=" + manageAccount
				+ ", managePassword=" + managePassword + ", enterpriseId="
				+ enterpriseId + ", enterpriseName=" + enterpriseName
				+ ", departmentId=" + departmentId + ", departmentName="
				+ departmentName + ", manageGrade=" + manageGrade + ", appKey="
				+ appKey + ", updated=" + updated + ", created=" + created
				+ "]";
	}
	
	
}
